Color processing method based on hg1c1

ABSTRACT

The invention discloses a method for processing color data based on an HGlCl color space of with a color appearance attribute. The method comprises: acquiring color data in an HGlCl format in the HGlCl color space with a color appearance attribute; selecting two color data in the HGlCl format from the acquired color data in the HGlCl format; performing a color addition and/or color difference operation on the selected two color data in the HGlCl format to generate one color data in the HGlCl format. The method further comprises converting the color data in the HGlCl format generated by the operation into color data in a CIE XYZ format. By the method of the invention, color error judgment, and color prediction and matching and compensation can be conveniently performed. Besides, the conversion calculating process in the invention is accurate, simple and fast in the conversion speed.

TECHNICAL FIELD

The invention relates to photometry application technology, and inparticular to a color processing method based on an HGlCl color spacewith a color appearance attribute.

BACKGROUND ART

A calculation of color addition and a calculation of a color differencebetween colors are important parts in calculations in photometry and itsapplication, and are widely applied in industry, art and digital images.

The existing calculations of color addition are all performed byconverting the color data from the existing color spaces such as CIELABand CIELUV to the CIEXYZ color space, the addition cannot be directlyperformed in the CIELAB and CIELUV spaces, and the conversionrelationship during the conversion is very complicated, which is shownin the below formula:

$\left\{ {\begin{matrix}{L = {{116\left( \frac{Y}{Y_{0}} \right)^{\frac{1}{3}}} - 161}} \\{{a = {500\left\lbrack {\left( \frac{X}{X_{0}} \right)^{\frac{1}{3}} - \left( \frac{Y}{Y_{0}} \right)^{\frac{1}{3}}} \right\rbrack}};\mspace{14mu} {{under}\mspace{14mu} a\mspace{14mu} {light}\mspace{14mu} {source}\; D_{65}\left\{ \begin{matrix}{X_{0} = 95.045} \\{Y_{0} = 100} \\{Z_{0} = 108.255}\end{matrix} \right.}} \\{b = {200\left\lbrack {\left( \frac{Y}{Y_{0}} \right)^{\frac{1}{3}} - \left( \frac{Z}{Z_{0}} \right)^{\frac{1}{3}}} \right\rbrack}}\end{matrix}.} \right.$

The result of the color addition is obtained after performing anaddition calculation in the CIEXYZ color space, and then the calculateddata is converted to the color space CIELAB or CIELUV to be observed orapplied. Such method is very troublesome, and meanwhile the aboveconversion formula is a fitted one, a problem of precision is alsobrought.

The existing definition of the color difference is a numericaldifference, and can be calculated in various color spaces, e.g., thecolor difference in the CIELAB color space is a scalar numerical value,which is calculated in the following manner:

ΔE=√{square root over ((ΔL)²+(ΔA)²+(ΔB)²)}{square root over((ΔL)²+(ΔA)²+(ΔB)²)}{square root over ((ΔL)²+(ΔA)²+(ΔB)²)},

where ΔL=L₁−L₂, Δa=a₁−a₂, Δb=b₁−b₂

This numerical value only indicates the value of the color differenceand does not indicate a deeper attribute of the color difference, andthus cannot provide a basis for color compensation. It is considered inthe new theory that the color difference is also essentially a color andalso has its attributes of hue, intensity and degree of saturation. Itis imprecise to describe the color difference by simply using anumerical difference, and the color difference should be described usinga color.

The CIEXYZ color space is a basic color space in colorimetry and is abasis for describing other color spaces, and the color data in theCIEXYZ color space can be converted to any other color space, e.g.,CIELAB and the like. However, for the newly defined color space HGlCl,there does not exist an existing calculation to perform conversion.

Thus, there exists a requirement for a method capable of processingcolor addition and color difference in a new color space in the priorart.

SUMMARY OF THE INVENTION

With respect to the existing technical defects, the invention overcomesthe defects in the prior art by processing color data based on an HGlClcolor space with a color appearance attribute, achieves direct coloredaddition and color difference calculations in a color appearance colorspace, and can obtain more explicitly information of the colordifference accurate to three dimensions.

The invention puts forward a mutual conversion method of color databetween the CIEXYZ color space and the HGlCl color space, and theconversion method is described in Formula 1 and Formula 2 below.

According to the invention, the color space HGlCl with a colorappearance attribute is a color space based on a CIEXYZ cartesian colorspace, of a color appearance attribute and described by a cylindricalcoordinate system; the cylindrical coordinate system is composed of achromatic plane and a gray axis passing through the origin of thechromatic plane and perpendicular to the chromatic plane, the gray axisdescribes a gray level Gl of the color, the chromatic plane is a polarcoordinate plane and describes a chromatic vector {right arrow over(Cl)} of the color, and the chromatic vector is a vector parallel to thechromatic plane and is composed of a vector polar angle and a vectorpolar radius expressed within a polar coordinate system, wherein thevector polar angle is a hue angle H of the chromatic vector, and thevector polar radius is a chromatic level Cl of the chromatic vector,i.e., one color C is C=(Gl, {right arrow over (Cl)})=(H, Gl, Cl) withinthe HGlCl color space with a color appearance attribute;

wherein the chromatic plane is a plane X+Y+Z=K in the CIEXYZ Cartesiancolor space, and K is a real constant; the axes X, Y, Z in the CIEXYZCartesian color space are projected on a plane X+Y+Z=K in a direction ofa line X=Y=Z to obtain three projection axes which are at 120° withrespect to one another within the chromatic plane, and a unit vector inthe direction of the projectioaxis is {right arrow over (i)}, {rightarrow over (j)}, {right arrow over (k)}; the data of the color C (X, Y,Z) in the CIEXYZ color space is expressed as C (X{right arrow over (i)},Y{right arrow over (j)}, Z{right arrow over (k)}) within the chromaticplane, wherein X, Y and Z are respectively amplitudes in the threedirections {right arrow over (i)}, {right arrow over (j)}, {right arrowover (k)}, and the polar angles {right arrow over (i)}, {right arrowover (j)}, {right arrow over (k)} are respectively 0°, 120° and 240°;wherein the conversion manner of H, Gl and Cl of the color C andtristimulus values X, Y, Z is given in Formula 1 below:

$\quad\begin{matrix}\left\{ \begin{matrix}{{Gl} = {{Min}\left( {X,Y,Z} \right)}} \\{\overset{\_}{Cl} = {{X\overset{\_}{i}} + {Y\overset{\_}{j}} + {Z\overset{\_}{k}}}} \\{{Cl} = {{{{X\overset{\_}{i}} + {Y\overset{\_}{j}} + {Z\overset{\_}{k}}}}\quad}} \\{H = \left\{ \begin{matrix}{{\arccos \left( \frac{{2X} - Y - Z}{2\sqrt{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} + {\left( {X - Y} \right)\left( {Y - Z} \right)}}} \right)},{Y \geq Z}} \\{{{2\; \pi} - {\arccos \left( \frac{{2X} - Y - Z}{2\sqrt{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} + {\left( {X - Y} \right)\left( {Y - Z} \right)}}} \right)}},{Y < Z}} \\{{undefined},{X = {Y = Z}}}\end{matrix} \right.}\end{matrix} \right. & \left( {{Formula}\mspace{14mu} 1} \right)\end{matrix}$

where Min (X, Y, Z) is the minimum value of X, Y and Z.

In the invention, the color data are numerical values of the colorattribute of the colored light, e.g., tristimulus values X, Y, Z ornumerical values of hue, intensity and degree of saturation and the likeof the colored light; the color is the visual stimulation of the coloredlight; the gray precipitation refers to that a white light is producedwhen two different colors are mixed, the process of generating the whitelight is called gray precipitation, and the gray value obtained by thegray precipitation is a gray precipitation value.

According to one aspect of the invention, a method of processing colordata based on an HGlCl color space with a color appearance attribute isprovided, the method comprising: acquiring color data in an HGlCl formatin the HGlCl color space with a color appearance attribute; selectingtwo color data in the HGlCl format from the acquired color data in theHGlCl format; performing a color addition and/or color differenceoperation on the selected two color data in the HGlCl format to acquireone color data in the HGlCl format generated by the operation.

According to another aspect of the invention, a method of processingcolor data based on an HGlCl color space with a color appearanceattribute is provided, the method comprising: acquiring color data in anXYZ format of interest in a CIE XYZ color space; converting the acquiredcolor data in the XYZ format into color data in a HGlCl format accordingto Formula 1.

Accordingly to a further aspect of the invention, a method forprocessing color data based on an HGlCl color space with a colorappearance attribute is provided, the method comprising: acquiring colordata in an HGlCl format of interest in the HGlCl color space; convertingthe acquired color data in the HGlCl format into color data in an XYZformat according to Formula 2:

$\begin{matrix}{{{h = \left\lbrack \frac{H}{20} \right\rbrack},{\lbrack \cdot \rbrack \mspace{14mu} {is}\mspace{14mu} a\mspace{14mu} {round}\mspace{14mu} {symbol}\mspace{14mu} {with}\mspace{14mu} {respect}\mspace{14mu} {{to} \cdot}},{H \in \left\lbrack {0^{\circ},360^{\circ}} \right)},{h = 0},1,2}\left\{ {\begin{matrix}{{{{if}\mspace{14mu} h} = 0},} \\{{X = {{{Cl}\left\lbrack {{\cos (H)} + {\frac{\sqrt{3}}{3}{\sin (H)}}} \right\rbrack} + {Gl}}},} \\{{Y = {{\frac{2\sqrt{3}}{3}{Cl}\; {\sin (H)}} + {Gl}}},} \\{Z = {Gl}}\end{matrix}\left\{ {\begin{matrix}{{{{if}\mspace{14mu} h} = 1},} \\{X = {Gl}} \\{{Y = {{Gl} - {{Cl}\; {\cos (H)}} + {\frac{\sqrt{3}}{3}{\overset{\rightharpoonup}{Cl}} \times {\sin (H)}}}},} \\{Z = {{Gl} - {{Cl}\; {\cos (H)}} - {\frac{\sqrt{3}}{3}{\overset{\rightharpoonup}{Cl}} \times {\sin (H)}}}}\end{matrix}\left\{ {\begin{matrix}{{{if}\mspace{14mu} h} = 2} \\{X = {{{Cl}\left\lbrack {{\cos (H)} + {\frac{\sqrt{3}}{3}{\sin (H)}}} \right\rbrack} + {Gl}}} \\{Y = {Gl}} \\{Z = {{Gl}\frac{2\sqrt{3}{Cl}\; {\sin (H)}}{3}}}\end{matrix}.} \right.} \right.} \right.} & \left( {{Formula}\mspace{14mu} 2} \right)\end{matrix}$

The invention puts forward a color processing method in an HGlCl colorspace, and has advantages of directly performing calculations in a colorappearance space and describing and calculating a color difference moreprecisely.

Based on the requirement for more precise descriptions of the colordifference, the invention puts forward performing a calculation using acalculating method capable of describing explicit differences of thecolors in three dimensions, i.e., hue, intensity and saturation, andobtains precise descriptions of the color difference of the colors, andthus can provide a precise adjustment basis for the color compensation.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic diagram of the construction of the HGlCl colorspace on which the invention depends;

FIG. 2 is a schematic diagram of the unit vector {right arrow over (i)},{right arrow over (j)}, {right arrow over (k)} of the chromatic planeand the trisected chromatic plane;

FIG. 3 is a schematic diagram of the HGlCl color space on which theinvention depends;

FIG. 4 is a schematic diagram of the equivalent Gl plane of the HGlClspace;

FIG. 5 is a schematic diagram of the cross section of the HGlCl colorspace passing though the gray axis;

FIG. 6 is a flow chart of the color processing method based on the HGlClcolor space according to one embodiment of the invention;

FIG. 7 is a flow chart of acquiring the color data in the HGlCl formatin the HGlCl color space with a color appearance attribute according tothe invention.

DETAILED DESCRIPTION

Further detailed descriptions of the specific implementation modes ofthe invention are given below by taking the figures and the embodimentsinto consideration. The embodiments below are used for describing theinvention rather than limiting the invention.

According to the embodiments of the invention, the calculation of thecolor addition and the calculation of the difference between the colorscan be directly performed in the HGlCl color space with a colorappearance attribute, and color difference description informationincluding three dimensions, i.e., hue, intensity and degree ofsaturation, is calculated.

FIGS. 1-5 show the HGlCl color space used according to the invention. Itcan be seen from FIG. 1 that the HGlCl color space is a color spacebased on a CIE XYZ Cartesian color space, of a color appearanceattribute and described by a cylindrical coordinate system; thecylindrical coordinate system is composed of a chromatic plane and agray axis passing through the origin of the chromatic plane andperpendicular to the chromatic plane, and the gray axis describes a graylevel Gl of the color; the chromatic plane is a polar coordinate planeand describes a chromatic vector {right arrow over (Cl)} of the color,and the chromatic vector is a vector parallel to the chromatic plane andis composed of a vector polar angle and a vector polar radius expressedwithin a polar coordinate system; wherein the vector polar angledescribes a hue angle H of the chromatic vector, and the vector polarradius describes a chromatic level Cl of the chromatic vector. Thus, onecolor C can be expressed as C=(Gl, {right arrow over (Cl)})=(H, Gl, Cl)within the HGlCl color space.

The chromatic plane is a plane X+Y+Z=K in the CIEXYZ Cartesian colorspace, and K is a real constant; the axes X, Y, Z in the CIEXYZCartesian color space are projected on a plane X+Y+Z=K in a direction ofa line X=Y=Z to obtain three projection axes which are at 120° withrespect to one another within the chromatic plane, and a unit vector inthe direction of the projection axis is {right arrow over (i)}, {rightarrow over (j)}, {right arrow over (k)}; the data of the color C (X, Y,Z) in the CIEXYZ color space is expressed as C (X{right arrow over (i)},Y{right arrow over (j)}, Z{right arrow over (k)}) within the chromaticplane, wherein X, Y and Z are respectively amplitudes in the threedirections {right arrow over (i)}, {right arrow over (j)}, {right arrowover (k)}, and the polar angles {right arrow over (i)}, {right arrowover (j)}, {right arrow over (k)} are respectively 0°, 120° and 240°;

Tristimulus values of one color C in the CIE XYZ color space are X, Yand Z, which respectively express numerical values of the CIE XYZ colorspace on the coordinate axes X, Y, Z, i.e., (X, Y, Z);

in the HGlCl color space, the following relationship exists between thecolor data in the HGlCl format of one color and the color data in theXYZ format of this color in the CIE XYZ space:

$\quad\begin{matrix}\left\{ \begin{matrix}{{Gl} = {{Min}\left( {X,Y,Z} \right)}} \\{\overset{\_}{Cl} = {{X\overset{\_}{i}} + {Y\overset{\_}{j}} + {Z\overset{\_}{k}}}} \\{{Cl} = {{{{X\overset{\_}{i}} + {Y\overset{\_}{j}} + {Z\overset{\_}{k}}}}\quad}} \\{H = \left\{ \begin{matrix}{{\arccos \left( \frac{{2X} - Y - Z}{2\sqrt{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} + {\left( {X - Y} \right)\left( {Y - Z} \right)}}} \right)},{Y \geq Z}} \\{{{2\; \pi} - {\arccos \left( \frac{{2X} - Y - Z}{2\sqrt{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} + {\left( {X - Y} \right)\left( {Y - Z} \right)}}} \right)}},{Y < Z}} \\{{undefined},{X = {Y = Z}}}\end{matrix} \right.}\end{matrix} \right. & \left( {{Formula}\mspace{14mu} 1} \right)\end{matrix}$

in the formula, Min (X, Y, Z) is the minimum value of X, Y and Z; thecolor C is C=(X, Y, Z) in the CIE XYZ color space, is C (X{right arrowover (i)}, Y{right arrow over (j)}, Z{right arrow over (k)}) within apure chromatic polar coordinate plane, and is a number pair C=(Gl,{rightarrow over (Cl)})=(Gl,(Cl,H)) within the HGlCl color space.

FIG. 6 shows a method of performing color processing based on an HGlClcolor space with a color appearance attribute according to oneembodiment of the invention. As shown in FIG. 6, the flow starts fromStep 600. In Step 602, color data in an HGlCl format in the HGlCl colorspace with a color appearance attribute is acquired. After the colordata in the HGlCl format is acquired, two color data of arbitrary colorsin the HGlCl format are selected from the acquired color data in theHGlCl format (Step 604). Next, in Step 606, a color addition and/orcolor difference operation is performed with respect to the selected twocolor data in the HGlCl format to acquire one color data in the HGlClformat generated by the operation.

In Step 602, the user uses multiple methods to achieve the color data inthe HGlCl format in the HGlCl color space with a color appearanceattribute. For example, the user can directly specify a plurality ofcolor data in the HGlCl format of interest in the HGlCl color space witha color appearance attribute. Further, for example, FIG. 7 shows anothermanner of acquiring the color data in the HGlCl format in the HGlClcolor space with a color appearance attribute. Specifically, in Step702, color data of interest in the CIEXYZ color space is acquired. InStep 704, color data in the HGlCl format corresponding to the color dataof interest are acquired according to Formula 1, respectively.

In Step 702, there are multiple manners to acquire the color data ofinterest in the CIEXYZ color space. For example, the user can directlyspecify the color data in the XYZ format of interest in the CIEXYZ colorspace.

Optionally, the color data of interest in the CIEXYZ color space can bealso acquired in the manner below. Conversion of a physical color in anRGB format to the CIE XYZ color space can be performed by adopting aconversion method in the prior art, and thus details are omitted herein.

The specific process of performing a color addition and/or colordifference operation with respect to the selected two color data in theHGlCl format to acquire one color data in the HGlCl format produced bythe operation in Step 606 is described in detail below.

Firstly, the color addition in the HGlCl color space is described. It isassumed that the selected two color data in the HGlCl format arerespectively C₁=(H₁, Gl₁, Cl₁) and C₂=(H₂, Gl₂, Cl₂), and the color datain the HGlCl format generated by the operation is C₃=(H₃, Gl₃, Cl₃).

Color addition can be performed with respect to two colors C₁, C₂ toobtain the color C₃ after the addition operation by the following steps:

acquiring a gray precipitation value Gl_(cl) ₁ _(cl) ₂ after vectoraddition of chromatic vectors {right arrow over (Cl)}₁, {right arrowover (Cl)}₂ of the two colors C₁, C₂ by Formula 3 below:

$\begin{matrix}\; & \left( {{Formula}\mspace{14mu} 3} \right) \\{{{h_{1} = \left\lbrack \frac{H_{1}}{120} \right\rbrack},{h_{2} = \left\lbrack \frac{H_{2}}{120} \right\rbrack},{\lbrack \cdot \rbrack \mspace{14mu} {is}\mspace{14mu} a\mspace{14mu} {round}\mspace{14mu} {symbol}\mspace{14mu} {with}\mspace{14mu} {request}\mspace{14mu} {{to}\mspace{14mu} \cdot}},H_{1},{H_{2} \in \left\lbrack {0^{{^\circ}},360^{{^\circ}}} \right)}}\mspace{79mu} {{Gl}_{{cl}_{1}{cl}_{2}} = \left\{ {{\begin{matrix}{0,} & {{h_{1}\hat{}h_{2}} = 0} \\{{Gl}_{mix},} & {{h_{1}\hat{}h_{2}} = 1}\end{matrix}{Gl}_{mix}} = \left\{ {\begin{matrix}{{\min \begin{pmatrix}{{\frac{\sin \left( {120^{{^\circ}} - H_{1}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}},{{\frac{\sin \left( H_{1} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}} +}} \\{{\frac{\sin \left( {240^{{^\circ}} - H_{2}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}},{\frac{\sin \left( {H_{2} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}}}\end{pmatrix}},} & {{h_{1} = 0},{{h_{2} = 1};}} \\{{\min \begin{pmatrix}{{{\frac{\sin \left( {120^{{^\circ}} - H_{1}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}} + {\frac{\sin \left( {H_{2} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}}},} \\{{\frac{\sin \left( H_{1} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}},{\frac{\sin \left( {360^{{^\circ}} - H_{2}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}}}\end{pmatrix}},} & {{{h\; 1} = 0},{{h\; 2} = 2}} \\{{\min \begin{pmatrix}{{\frac{\sin \left( {H_{2} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}},{\frac{\sin \left( {240^{{^\circ}} - H_{1}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}},} \\{{\frac{\sin \left( {H_{1} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}} + {\frac{\sin \left( {360^{{^\circ}} - H_{2}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}}}\end{pmatrix}},} & {{{h\; 1} = 1},{{h\; 2} = 2}}\end{matrix};} \right.} \right.}} & \;\end{matrix}$

acquiring H, Gl and Cl values C₃ (H₃, Gl₃, Cl₃) in the HGlCl format ofthe color data C₃ by Formula 4 below and the gray precipitation valueGl_(cl) ₁ _(cl) ₂ after the vector addition of the chromatic vectors

$\begin{matrix}\; & \left( {{Formula}\mspace{14mu} 4} \right) \\{{\overset{\_}{{Cl}_{1}},{\overset{\_}{{Cl}_{2}}\mspace{14mu} {of}\mspace{14mu} {the}\mspace{14mu} {two}\mspace{14mu} {colors}\mspace{14mu} C_{1}},{C_{2}\text{:}}}\left\{ \begin{matrix}{{{Gl}_{3} = {{Gl}_{2} + {Gl}_{1} + {Gl}_{{cl}_{1}{cl}_{2}}}}} & \; \\{{{Cl}_{3} = \sqrt{{Cl}_{1}^{2} + {Cl}_{2}^{2} + {2{Cl}_{1} \times {Cl}_{2} \times {\cos \left( {H_{1} - H_{2}} \right)}}}}} & \; \\{{H_{3} = \left\{ \begin{matrix}{{\arccos\left( \frac{\begin{matrix}{{{Cl}_{1} \times {\cos \left( H_{1} \right)}} +} \\{{Cl}_{2} + {\cos \left( H_{2} \right)}}\end{matrix}}{{Cl}_{3}} \right)},} & {\frac{\begin{matrix}{{{Cl}_{1} \times {\sin \left( H_{1} \right)}} +} \\{{Cl}_{2} \times {\sin \left( H_{2} \right)}}\end{matrix}}{\begin{matrix}{{{Cl}_{1} \times {\cos \left( H_{1} \right)}} +} \\{{Cl}_{2} \times {\cos \left( H_{2} \right)}}\end{matrix}} \geq 0} \\{{{2\pi} - {\arccos\left( \frac{\begin{matrix}{{{Cl}_{1} \times {\cos \left( H_{1} \right)}} +} \\{{Cl}_{2} + {\cos \left( H_{2} \right)}}\end{matrix}}{{Cl}_{3}} \right)}},} & {\frac{\begin{matrix}{{{Cl}_{1} \times {\sin \left( H_{1} \right)}} +} \\{{Cl}_{2} \times {\sin \left( H_{2} \right)}}\end{matrix}}{\begin{matrix}{{{Cl}_{1} \times {\cos \left( H_{1} \right)}} +} \\{{Cl}_{2} \times {\cos \left( H_{2} \right)}}\end{matrix}} < 0}\end{matrix} \right.}} & \;\end{matrix} \right.} & \;\end{matrix}$

Next, the color difference operation in the HGlCl color space isdescribed. It is assumed that the selected two color data in the HGlClformat are respectively C₄=(H₄, Gl₄, Cl₄) and C₅=(H₅, Gl₅, Cl₅), and thecolor data in the HGlCl format generated by the operation is C₆=(H₆,Gl₆, Cl₆).

A color difference operation can be performed with respect to two colorsC₄, C₅ to obtain the color C₆ after the color difference operation bythe following steps:

acquiring a color difference C₆=(H₆, Gl₆, Cl₆) of the color C₄=(H₄, Gl₄,Cl₄) relative to the color C₅=(H₅, Gl₅, Cl₅) in the HGlCl color space bythe following steps:acquiring a gray precipitation value Gl_(cl) ₄ _(cl) ₅ after vectoroperation of chromatic vectors {right arrow over (Cl)}₄, {right arrowover (Cl)}₅ of the two colors C₄, C₅ by Formula 5 below:

$\begin{matrix}\; & \left( {{Formula}\mspace{14mu} 5} \right) \\{{{h_{4} = \left\lbrack \frac{H_{4}}{120} \right\rbrack},{h_{5} = \left\lbrack \frac{H_{5}}{120} \right\rbrack},{\lbrack \cdot \rbrack \mspace{14mu} {is}\mspace{14mu} a\mspace{14mu} {round}\mspace{14mu} {symbol}\mspace{14mu} {with}\mspace{14mu} {request}\mspace{14mu} {{to}\mspace{14mu} \cdot}},H_{4},{H_{5} \in \left\lbrack {0^{{^\circ}},360^{{^\circ}}} \right)}}\mspace{79mu} {{Gl}_{{ch}_{4}{cl}_{5}} = \left\{ {{\begin{matrix}{{Gl}_{sd},} & {{h_{4}\hat{}h_{5}} = 0} \\{{Gl}_{mix},} & {{h_{4}\hat{}h_{5}} = 1}\end{matrix}{Gl}_{sd}} = \left\{ {{\begin{matrix}{{\min \begin{pmatrix}{{{\frac{\sin \left( {120^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {120^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},} \\{{{\frac{\sin \left( H_{4} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}} - {\frac{\sin \left( H_{5} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},0}\end{pmatrix}},} & {h_{4} = {h_{5} = 0}} \\{{\min \left( {0,\begin{matrix}{{{\frac{\sin \left( {240^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {240^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},} \\{{\frac{\sin \left( {H_{4} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {H_{5} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{matrix}} \right)},} & {h_{4} = {h_{5} = 1}} \\{{\min \begin{pmatrix}{{{\frac{\sin \left( {H_{4} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {H_{5} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},0,} \\{{\frac{\sin \left( {360^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {360^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{pmatrix}},} & {h_{4} = {h_{5} = 2}}\end{matrix}{Gl}_{mix}} = \left\{ {\begin{matrix}{{\min \begin{pmatrix}{{\frac{\sin \left( {120^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}},{{\frac{\sin \left( H_{4} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} -}} \\{{\frac{\sin \left( {240^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}} - {\frac{\sin \left( {H_{5} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{pmatrix}},} & {{h_{4} = 0},{{h_{5} = 1};}} \\{{\min \begin{pmatrix}{{{\frac{\sin \left( {120^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {H_{5} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},} \\{{\frac{\sin \left( H_{4} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {360^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{pmatrix}},} & {{h_{4} = 0},{h_{5} = 2}} \\{{\min \begin{pmatrix}{{\frac{\sin \left( {H_{5} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}},{\frac{\sin \left( {240^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}},} \\{{\frac{\sin \left( {H_{4} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {360^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{pmatrix}},} & {{h_{4} = 1},{h_{5} = 2}}\end{matrix};} \right.} \right.} \right.}} & \;\end{matrix}$

acquiring H, Gl and Cl values, i.e., C6=(H₆, Gl₆, Cl₆), in the HGlClformat of the color data C₆ by Formula 6 below and the grayprecipitation value Gl_(cl) ₄ _(cl) ₅ after the vector operation of thechromatic vectors {right arrow over (Cl)}₄, {right arrow over (Cl)}₅ ofthe two colors C₄, C₅:

$\quad\begin{matrix}\left\{ \begin{matrix}{{{{Gl}_{6} = {{Gl}_{5} + {Gl}_{4} + {Gl}_{{cl}_{4}{cl}_{5}}}},}} & \; \\{{{{Cl}_{6}} = \sqrt{{Cl}_{4}^{3} + {Cl}_{5}^{2} - {2{Cl}_{4} \times {Cl}_{5} \times {\cos \left( {H_{4} - H_{5}} \right)}}}}} & \; \\{{H_{6} = \left\{ {\begin{matrix}{{\arccos\left( \frac{\begin{matrix}{{{Cl}_{4} \times {\cos \left( H_{4} \right)}} -} \\{{Cl}_{5} + {\cos \left( H_{5} \right)}}\end{matrix}}{{Cl}_{6}} \right)},} & {\frac{\begin{matrix}{{{Cl}_{4} \times {\sin \left( H_{4} \right)}} +} \\{{Cl}_{5} \times {\sin \left( H_{5} \right)}}\end{matrix}}{\begin{matrix}{{{Cl}_{4} \times {\cos \left( H_{5} \right)}} -} \\{{Cl}_{5} \times {\cos \left( H_{5} \right)}}\end{matrix}} \geq 0} \\{{{2\pi} - {\arccos\left( \frac{\begin{matrix}{{{Cl}_{4} \times {\cos \left( H_{4} \right)}} +} \\{{Cl}_{5} + {\cos \left( H_{5} \right)}}\end{matrix}}{{Cl}_{6}} \right)}},} & {\frac{\begin{matrix}{{{Cl}_{4} \times {\sin \left( H_{4} \right)}} -} \\{{Cl}_{5} \times {\sin \left( H_{5} \right)}}\end{matrix}}{\begin{matrix}{{{Cl}_{4} \times {\cos \left( H_{4} \right)}} -} \\{{Cl}_{5} \times {\cos \left( H_{5} \right)}}\end{matrix}} < 0}\end{matrix}.} \right.}} & \;\end{matrix} \right. & \left( {{Formula}\mspace{20mu} 6} \right)\end{matrix}$

In the invention, whether after performing a color addition operation ora color difference operation with respect to the two color data in theHGlCl color space, the produced color data in the HGlCl format can bedeemed as one independent color. The user can further convert the colordata in the HGlCl format produced by the operation to the CIE XYZ colorspace by adopting the conversion method of the invention, and furtherperform the conversion from the CIE XYZ color space to the actualphysical color. The conversion from the CIE XYZ color space to theactual physical color can be achieved using the conversion manner in theprior art, and thus details are omitted herein.

Optionally, after Step 606, the color data in the HGlCl format producedby the operation can be further converted into the color data in the XYZformat in the CIE XYZ color space (Step 608). It is assumed that thecolor data in the HGlCl format produced by the operation is C (H, Gl,Cl), which is C (X, Y, Z) after being converted from the HGlCl colorspace to the CIE XYZ color space, and then the color data in the HGlClcolor space can be converted into the color data in the CIE XYZ colorspace by Formula 2 below:

$\begin{matrix}{{{h = \left\lbrack \frac{H}{120^{{^\circ}}} \right\rbrack},{\lbrack \cdot \rbrack \mspace{14mu} {is}\mspace{14mu} a\mspace{14mu} {round}\mspace{14mu} {symbol}\mspace{14mu} {with}\mspace{14mu} {respect}\mspace{14mu} {{to}\mspace{14mu} \cdot}},{H \in \left\lbrack {0^{{^\circ}},360^{{^\circ}}} \right)},{h = 0},1,2}\mspace{20mu} \left\{ {\begin{matrix}{{{{{if}\mspace{14mu} h} = 0},}} \\{{{X = {{{Cl}\left\lbrack {{\cos (H)} + {\frac{\sqrt{3}}{3}{\sin (H)}}} \right\rbrack} + {Gl}}},}} \\{{{Y = {{\frac{2\sqrt{3}}{3}{Cl}\; {\sin (H)}} + {Gl}}},}} \\{{Z = {Gl}}}\end{matrix}\mspace{20mu} \left\{ {\begin{matrix}{{{{{if}\mspace{14mu} h} = 1},}} \\{{X = {Gl}}} \\{{{Y = {{Gl} - {{Cl}\; {\cos (H)}} + {\frac{\sqrt{3}}{3}{\overset{\_}{Cl}} \times {\sin (H)}}}},}} \\{{Z = {{Gl} - {{Cl}\; {\cos (H)}} - {\frac{\sqrt{3}}{3}{\overset{\_}{Cl}} \times {\sin (H)}}}}}\end{matrix}\mspace{20mu} \left\{ {\begin{matrix}{{{{if}\mspace{14mu} h} = 2}} \\{{X = {{{Cl}\left\lbrack {{\cos (H)} + {\frac{\sqrt{3}}{3}{\sin (H)}}} \right\rbrack} + {Gl}}}} \\{{Y = {Gl}}} \\{{Z = {{Gl} - \frac{2\sqrt{3}{Cl}\; {\sin (H)}}{3}}}}\end{matrix}.} \right.} \right.} \right.} & \left( {{Formula}\mspace{14mu} 2} \right)\end{matrix}$

According to the second embodiment of the invention, another method ofprocessing color based on an HGlCl color space with a color appearanceattribute is provided. Firstly, color data (X, Y, Z) of interest isacquired in the CIE XYZ color space. Secondly, the acquired color data(X, Y, Z) of interest is substituted in Formula 1 to obtain thecorresponding color data in the HGlCl format in the HGlCl color space.As mentioned above, the color data in the HGlCl format can be processedor not processed in the HGlCl color space.

In this embodiment, acquiring color data (X, Y, Z) of interest in theCIE XYZ color space can be as follows: directly selecting the color dataof interest in the CIE XYZ color space.

In the third embodiment of the invention, a method of performing colorprocessing based on an HGlCl color space with a color appearanceattribute is provided. Firstly, color data (H, Gl, Cl) of interest isacquired in the HGlCl color space. Obviously, acquiring color data (H,Gl, Cl) of interest in the HGlCl color space can be as follows: directlyselecting the color data in the HGlCl format of interest in the HGlClcolor space, or using the color data in the HGlCl format obtained in thesecond embodiment. Secondly, the acquired color data of interest issubstituted in Formula 2 to obtain the corresponding color data in theXYZ format in the CIE XYZ color space. As mentioned above, the colordata in the HGlCl format can be processed or not processed in the HGlClcolor space.

In the invention, the second embodiment and the third embodiment can bealso combined, i.e., the color data in the XYZ format in the CIE XYZcolor space being converted into the data color in the HGlCl formataccording to Formula 1 is mixed with the color data in the HGlCl formatbeing converted into the color data in the XYZ format in the CIE XYZcolor space according to Formula 2 to provide a complete processingprocess from the CIE XYZ format to the HGlCl format and further to theCIE XYZ format.

The contents below verify the color data processing method based on anHGlCl color space of the invention by means of experimental data.

1. Verification of Color Addition Based on the HGlCl Color Space

Two groups of random colors are selected using a computer, and the dataof the tristimulus values X, Y, Z of the XYZ color space are convertedinto H, Gl, Cl in the HGlCl color space, which is shown as follows:

TABLE 1 Data Testseq1 of three primary colors X, Y, Z and H, Gl and Clcorresponding thereto Testseq1 HGlCl Representation of Testseq1 X Y Z HGl Cl 190 124 207 5.0409 124.0000 75.9408 48 111 136 3.4209 48.000078.5430 175 114 89 0.2865 89.0000 76.6225 47 78 239 4.0378 47.0000178.5301 94 130 223 3.9150 94.0000 115.2953 160 130 140 5.9497 130.000026.4575 199 208 159 1.2206 159.0000 45.1774 21 203 150 2.8546 21.0000162.1327 237 164 53 0.6423 53.0000 160.4774 198 97 77 0.1548 77.0000112.3432

TABLE 2 Data Testseq2 of tristimulus values X, Y, Z and H, Gl and Clcorresponding thereto Testseq2 HGlCl Representation of Testseq2 X Y Z HGl Cl 120 110 154 4.4073 110.0000 39.9500 59 47 181 4.2698 47.0000128.4212 215 231 57 1.1305 57.0000 166.5773 50 250 30 2.0121 30.0000210.7131 58 112 76 2.4279 58.0000 47.6235 44 28 81 4.4875 28.000047.0850 58 66 108 4.0393 58.0000 46.5188 111 104 130 4.4520 104.000023.3024 79 152 22 1.6417 22.0000 112.8672 235 67 67 0 67.0000 168.0000

After respectively performing addition of the tristimulus values X, Y, Zin the corresponding items in Table 1 and Table 2 in the CIEXYZ colorspace, conversion is made into the HGlCl values, and Testseq1+Testseq2is shown in Table 3 below:

TABLE 3 Testseq1 + Testseq2 and H, Gl and Cl corresponding thereto HGlClcolor processing results Testseq1 + Testseq2 of Testseq1 + Testseq2 X YZ H Gl Cl 310 234 361 4.8256 234.0000 110.6933 107 158 317 3.9538107.0000 189.7129 390 345 146 0.8730 146.0000 224.9022 97 328 269 2.893397.0000 207.8774 152 242 299 3.5363 152.0000 128.3706 204 158 221 4.9721158.0000 56.4535 257 274 267 2.7195 257.0000 14.7986 132 307 280 2.9978132.0000 163.1839 316 316 75 1.0472 75.0000 241.0000 433 164 144 0.0620144.0000 279.5371

In the HGlCl color space, the HGlCl numerical values in thecorresponding items in Table 1 and Table 2 are taken to undergo additionaccording to the color addition method in the HGlCl color space toobtain the added HGlCl values as follows:

TABLE 4 Color addition processing results of Testseq1 and Testseq2 usingthe HGlCl color space H Gl Cl 4.8256 234.0000 110.6933 3.9538 107.0000189.7129 0.8730 146.0000 224.9022 2.8933 97.0000 207.8774 3.5363152.0000 128.3706 4.9721 158.0000 56.4535 2.7195 257.0000 14.7986 2.9978132.0000 163.1839 1.0472 75.0000 241.0000 0.0620 144.0000 279.5371

It can be seen by comparing the results in Table 3 and Table 4 that theresults of performing color addition according to the HGlCl color spacein the HGlCl color space are completely consistent with the results ofdirectly adding the tristimulus values X, Y, Z in the CIEXYZ colorspace.

2. Verification of Color Subtraction Based on the HGlCl Color Space

After respectively performing subtraction of the tristimulus values X,Y, Z in the corresponding items in Table 1 and Table 2 in the CIE XYZcolor space, conversion is made into the HGlCl values, andTestseq1-Testseq2 is shown in Table 4 below:

TABLE 4 Testseq1 − Testseq2 and processing results in the HGlCl colorspace thereof HGlCl color processing method results of Testseq1 −Testseq2 Testseq1 − Testseq2 X Y Z H Gl Cl 70 14 53 5.5365 14.000049.7293 −11 64 −45 1.7846 −45.0000 96.5971 −40 −117 32 4.7318 −117.000129.0620 −3 −172 209 4.6473 −172.000 330.6554 36 18 147 4.3180 18.0000121.0083 116 102 59 0.8093 59.0000 51.4490 141 142 51 1.0568 51.000090.5041 −90 99 20 2.7124 −90.0000 164.4111 158 12 31 6.1632 12.0000137.4882 −37 30 10 2.8466 −37.0000 59.5735

In the HGlCl color space, the HGlCl values in the corresponding items inTable 1 and Table 2 are taken to undergo a subtraction operationaccording to the color subtraction method of the HGlCl color space toobtain the HGlCl color difference values after the subtraction operationas follows:

TABLE 5 H Gl Cl 5.5365 14.0000 49.7293 1.7846 −45.0000 96.5971 4.7318−117.000 129.0620 4.6473 −172.000 330.6554 4.3180 18.0000 121.00830.8093 59.0000 51.4490 1.0568 51.0000 90.5041 2.7124 −90.0000 164.41116.1632 12.0000 137.4882 2.8466 −37.0000 59.5735

It can be seen by comparing Table 4 and Table 5 that the results ofperforming color subtraction according to the HGlCl color space in theHGlCl color space are completely consistent with the results of directlysubtracting the tristimulus values X, Y, Z in the CIE XYZ color space.

Especially, when the color difference operation is performed in theHGlCl color space, if Gl is negative, it indicates that the gray levelof the subtracted color Testseq1 is lower than the gray level of thesubtracted color Testseq2.

According to the invention, by means of the color addition in the HGlClcolor space, the result of adding two known colors can be predicted. Theprediction represents that the addition result can be obtained by amachine operation, and the result of the machine operation includesthree variables H, Gl, Cl, and these three variables can be subjectivelycompared with a real operation to obtain unification of the objectiveoperation with the subjective feeling. The traditional color processingmethod does not possess this function, and people can only perform aninverse operation to the CIEXYZ space from the specific color spaceused, then obtain the addition result by means of adding of thetristimulus values X, Y, Z, and then further perform a conversion to thespecific color space so as to know the subjective visual feeling of thesuperimposed color.

In the invention, the color difference in the HGlCl color space canachieve the error judgment during the production of the target color asthe definitions of the other color differences. Specifically, a vectorsubtraction is performed between the target color and the actuallyacquired color, whereby the specific value of the value difference canbe acquired. For example, it is allowed to deem C₄(H₄, Gl₄, Cl₄) as theactually acquired color, and deem C₅=(H₅, Gl₅, Cl₅) as the target color,and then (H₆, Gl₆, Cl₆) is the color difference. The color differenceproduction judgment is achieved with the value Cl of the subtractionresult (the Cl is not a vector but a vector module of the colordifference {right arrow over (Cl)}) being lower than a certain thresholdvalue.

The color difference and color addition operations in the HGlCl colorspace in the invention can be further applied to the color predictionand color matching. In order to acquire the target color, an existingcolor is firstly assumed, and then a difference between the target colorand the assumed color is made to obtain the hue value of the secondcolor. Thus, when seeking a color for matching, the color to be matchedcan be obtained by directly performing a calculation. As long as thetarget color and an assumed color are known, the second color can beobtained, so that the target color is obtained just when the secondcolor is superimposed with the assumed color. The traditional colorprocessing method is still one that can only perform an inverseconversion to a color acceptable by the machine (e.g., the ideal modelof three primary colors), then perform an operation to obtain thedifference, and then convert the operation result so as to known theresult.

It can be seen from the color data processing methods provided by theabove respective embodiments that the color processing method based onan HGlCl color space in the invention involves simple analyticaloperations all the time in the conversion calculations, greatlysimplifies the conversion calculating process, and improves theconversion efficiency. Particularly, the mutual conversion formulae withthe color data in the HGlCl format provided in the embodiments of theinvention are analytical formulae, and no cumulative errors will occurin the calculations, so the color data obtained by the calculations bythe conversion formulae will provide a higher precision of the colordata than the conversion formulae in the prior art.

The above contents are only preferred implementation modes of theinvention. It should be noted that those skilled in the art can furthermake some improvements and decorations in the case of not breaking awayfrom the technical principle of the invention, and these improvementsand decorations should also be deemed as ones within the scope ofprotection of the invention.

1. A method for processing color data based on an HGlCl color space witha color appearance attribute, comprising: acquiring color data in anHGlCl format in the HGlCl color space with a color appearance attribute;selecting two color data in the HGlCl format from the acquired colordata in the HGlCl format; performing a color addition and/or colordifference operation on the selected two color data in the HGlCl formatto obtain one color data in the format generated by the operation;wherein the color space HGlCl with a color appearance attribute is acolor space based on a CIEXYZ cartesian color space, of a colorappearance attribute and described by a cylindrical coordinate system;the cylindrical coordinate system is composed of a chromatic plane and agray axis passing through the origin of the chromatic plane andperpendicular to the chromatic plane, the gray axis describes a graylevel Gl of the color, the chromatic plane is a polar coordinate planeand describes a chromatic vector {right arrow over (Cl)} of the color,and the chromatic vector is a vector parallel to the chromatic plane andis composed of a vector polar angle and a vector polar radius expressedwithin a polar coordinate system, wherein the vector polar angle is ahue angle H of the chromatic vector, and the vector polar radius is achromatic level Cl of the chromatic vector, i.e., one color C is C=(Gl,{right arrow over (Cl)})=(H, Gl, Cl) within the HGlCl color space with acolor appearance attribute; wherein the chromatic plane is a planeX+Y+Z=K in the CIEXYZ Cartesian color space, and K is a real constant;the axes X, Y, Z in the CIEXYZ Cartesian color space are projected on aplane X+Y+Z=K in a direction of a line X=Y=Z to obtain three projectionaxes which are at 120° with respect to one another within the chromaticplane, and a unit vector in the direction of the projection axis is{right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)};the data of the color C (X, Y, Z) in the CIEXYZ color space is expressedas C (X{right arrow over (i)}, Y{right arrow over (j)}, Z{right arrowover (k)}) within the chromatic plane, wherein X, Y and Z arerespectively amplitudes in the three directions {right arrow over (i)},{right arrow over (j)}, {right arrow over (k)}, and the polar angles{right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)}are respectively 0°, 120° and 240°; wherein the conversion manner of H,Gl and Cl of the color C and tristimulus values X, Y, Z is given inFormula 1 below: $\begin{matrix}\; & \left( {{Formula}\mspace{14mu} 1} \right) \\\left\{ \begin{matrix}{{{Gl} = {{Min}\left( {X,Y,Z} \right)}}} \\{{\overset{\dddot{}}{Cl} = {\overset{¨}{Xi} + \overset{¨}{Yj} + {Z\overset{\dddot{}}{k}}}}} \\{{{Cl} = {{{X\overset{\dddot{}}{i}} + {Y\overset{\dddot{}}{j}} + {Z\overset{\dddot{}}{k}}}}}} \\{{H = \left\{ \begin{matrix}{{\arccos\left( \frac{{2X} - Y - Z}{2\sqrt{\begin{matrix}{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} +} \\{\left( {X - Y} \right)\left( {Y - Z} \right)}\end{matrix}}} \right)},} & {Y \geq Z} \\{{{2\pi} - {\arccos\left( \frac{{2X} - Y - Z}{2\sqrt{\begin{matrix}{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} +} \\{\left( {X - Y} \right)\left( {Y - Z} \right)}\end{matrix}}} \right)}},} & {Y < Z} \\{{undefined},} & {X = {Y = Z}}\end{matrix} \right.}}\end{matrix} \right. & \;\end{matrix}$ where Min (X, Y, Z) is the minimum value of X, Y and Z. 2.The method according to claim 1, wherein the selected two color data inthe HGlCl format are respectively C₁=(H₁, Gl₁, Cl₁) and C₂=(H₂, Gl₂,Cl₂), the color data in the HGlCl format generated by the operation isC₃=(H₃, Gl₃, Cl₃), and performing a color addition operation on theselected two color data in the HGlCl format to obtain one color data inthe HGlCl format generated by the operation comprises: performing acolor addition operation on the two colors C₁, C₂ to acquire a color C₃after the addition operation by the following steps: acquiring a grayprecipitation value Gl_(cl) ₁ _(cl) ₂ after vector addition of chromaticvectors {right arrow over (Cl)}₁, {right arrow over (Cl)}₂ of the twocolors C₁, C₂ by Formula 3: $\begin{matrix}\; & \left( {{Formula}\mspace{14mu} 3} \right) \\{{{h_{1} = \left\lbrack \frac{H_{1}}{120} \right\rbrack},{h_{2} = \left\lbrack \frac{H_{2}}{120} \right\rbrack},{\lbrack \cdot \rbrack \mspace{14mu} {is}\mspace{14mu} a\mspace{14mu} {round}\mspace{14mu} {symbol}\mspace{14mu} {with}\mspace{14mu} {request}\mspace{14mu} {{to}\mspace{14mu} \cdot}},H_{1},{H_{2} \in \left\lbrack {0^{{^\circ}},360^{{^\circ}}} \right)}}\mspace{79mu} {{Gl}_{{cl}_{1}{cl}_{2}} = \left\{ {{\begin{matrix}{0,} & {{h_{1}\hat{}h_{2}} = 0} \\{{Gl}_{mix},} & {{h_{1}\hat{}h_{2}} = 1}\end{matrix}{Gl}_{mix}} = \left\{ {\begin{matrix}{{\min \begin{pmatrix}{{\frac{\sin \left( {120^{{^\circ}} - H_{1}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}},{{\frac{\sin \left( H_{1} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}} +}} \\{{\frac{\sin \left( {240^{{^\circ}} - H_{2}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}},{\frac{\sin \left( {H_{2} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}}}\end{pmatrix}},} & {{h_{1} = 0},{{h_{2} = 1};}} \\{{\min \begin{pmatrix}{{{\frac{\sin \left( {120^{{^\circ}} - H_{1}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}} + {\frac{\sin \left( {H_{2} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}}},} \\{{\frac{\sin \left( H_{1} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}},{\frac{\sin \left( {360^{{^\circ}} - H_{2}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}}}\end{pmatrix}},} & {{{h\; 1} = 0},{{h\; 2} = 2}} \\{{\min \begin{pmatrix}{{\frac{\sin \left( {H_{2} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}},{\frac{\sin \left( {240^{{^\circ}} - H_{1}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}},} \\{{\frac{\sin \left( {H_{1} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{1}} + {\frac{\sin \left( {360^{{^\circ}} - H_{2}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}}}\end{pmatrix}},} & {{{h\; 1} = 1},{{h\; 2} = 2}}\end{matrix};} \right.} \right.}} & \;\end{matrix}$ acquiring H₃, Gl₃, Cl₃ in the HGlCl format of the colordata C₃ by Formula 4 and the gray precipitation value Gl_(cl) ₁ _(cl) ₂after the vector addition of the chromatic vectors {right arrow over(Cl)}₁, {right arrow over (Cl)}₂ of the two colors C₁, C₂:$\begin{matrix}\left\{ \begin{matrix}{{{Gl}_{3} = {{Gl}_{2} + {Gl}_{1} + {Gl}_{{cl}_{1}{cl}_{2}}}}} & \; \\{{{Cl}_{3} = \sqrt{{Cl}_{1}^{2} + {Cl}_{2}^{2} + {2{Cl}_{1} \times {Cl}_{2} \times {\cos \left( {H_{1} - H_{2}} \right)}}}}} & \; \\{{H_{3} = \left\{ \begin{matrix}{{\arccos\left( \frac{\begin{matrix}{{{Cl}_{1} \times {\cos \left( H_{1} \right)}} +} \\{{Cl}_{2} + {\cos \left( H_{2} \right)}}\end{matrix}}{{Cl}_{3}} \right)},} & {\frac{\begin{matrix}{{{Cl}_{1} \times {\sin \left( H_{1} \right)}} +} \\{{Cl}_{2} \times {\sin \left( H_{2} \right)}}\end{matrix}}{\begin{matrix}{{{Cl}_{1} \times {\cos \left( H_{1} \right)}} +} \\{{Cl}_{2} \times {\cos \left( H_{2} \right)}}\end{matrix}} \geq 0} \\{{{2\pi} - {\arccos\left( \frac{\begin{matrix}{{{Cl}_{1} \times {\cos \left( H_{1} \right)}} +} \\{{Cl}_{2} + {\cos \left( H_{2} \right)}}\end{matrix}}{{Cl}_{3}} \right)}},} & {\frac{\begin{matrix}{{{Cl}_{1} \times {\sin \left( H_{1} \right)}} +} \\{{Cl}_{2} \times {\sin \left( H_{2} \right)}}\end{matrix}}{\begin{matrix}{{{Cl}_{1} \times {\cos \left( H_{1} \right)}} +} \\{{Cl}_{2} \times {\cos \left( H_{2} \right)}}\end{matrix}} < 0}\end{matrix} \right.}} & \;\end{matrix} \right. & \left( {{Formula}\mspace{14mu} 4} \right)\end{matrix}$
 3. The method according to claim 1, wherein the selectedtwo color data in the HGlCl format are respectively C₄=(H₄, Gl₄, Cl₄)and C₅=(H₅, Gl₅, Cl₅), the color data in the HGlCl format produced bythe operation is C₆=(H₆, Gl₆, Cl₆), and performing a color differenceoperation on the selected two color data in the HGlCl format to obtainone color data in the HGlCl format generated by the operation comprises:acquiring a color difference C₆=(H₆, Gl₆, Cl₆) of the color C₄(H₄, Gl₄,Cl₄) relative to the color C₅=(H₅, Gl₅, Cl₅) in the HGlCl color space bythe following steps: acquiring a gray precipitation value Gl_(cl) ₄_(cl) ₅ after vector operation of chromatic vectors {right arrow over(Cl)}₄, {right arrow over (Cl)}₅ of the two colors C₄, C₅ by Formula 5:$\begin{matrix}\; & \left( {{Formula}\mspace{14mu} 5} \right) \\{{{h_{4} = \left\lbrack \frac{H_{4}}{120} \right\rbrack},{h_{5} = \left\lbrack \frac{H_{5}}{120} \right\rbrack},{\lbrack \cdot \rbrack \mspace{14mu} {is}\mspace{14mu} a\mspace{14mu} {round}\mspace{14mu} {symbol}\mspace{14mu} {with}\mspace{14mu} {request}\mspace{14mu} {{to}\mspace{14mu} \cdot}},H_{4},{H_{5} \in \left\lbrack {0^{{^\circ}},360^{{^\circ}}} \right)}}\mspace{79mu} {{Gl}_{{cl}_{4}{cl}_{5}} = \left\{ {{\begin{matrix}{{Gl}_{sd},} & {{h_{4}\hat{}h_{5}} = 0} \\{{Gl}_{mix},} & {{h_{4}\hat{}h_{5}} = 1}\end{matrix}{Gl}_{sd}} = \left\{ \begin{matrix}{{\min \begin{pmatrix}{{{\frac{\sin \left( {120^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {120^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},} \\{{{\frac{\sin \left( H_{4} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{2}} - {\frac{\sin \left( H_{5} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},0}\end{pmatrix}},} & {h_{4} = {h_{5} = 0}} \\{{\min \left( {0,\begin{matrix}{{{\frac{\sin \left( {240^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {240^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},} \\{{\frac{\sin \left( {H_{4} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {H_{5} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{matrix}} \right)},} & {h_{4} = {h_{5} = 1}} \\{{\min \begin{pmatrix}{{{\frac{\sin \left( {H_{4} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {H_{5} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},0,} \\{{\frac{\sin \left( {360^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {360^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{pmatrix}},} & {h_{4} = {h_{5} = 2}}\end{matrix} \right.} \right.}} & \;\end{matrix}$ ${Gl}_{mix} = \left\{ \begin{matrix}{{\min \begin{pmatrix}{{\frac{\sin \left( {120^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}},{{\frac{\sin \left( H_{4} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} -}} \\{{\frac{\sin \left( {240^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}} - {\frac{\sin \left( {H_{5} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{pmatrix}},} & {{h_{4} = 0},{{h_{5} = 1};}} \\{{\min \begin{pmatrix}{{{\frac{\sin \left( {120^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {H_{5} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}},} \\{{\frac{\sin \left( H_{4} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {360^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{pmatrix}},} & {{h_{4} = 0},{h_{5} = 2}} \\{{\min \begin{pmatrix}{{\frac{\sin \left( {H_{5} - 240^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}},{\frac{\sin \left( {240^{{^\circ}} - H_{4}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}},} \\{{\frac{\sin \left( {H_{4} - 120^{{^\circ}}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{4}} - {\frac{\sin \left( {360^{{^\circ}} - H_{5}} \right)}{\sin \left( 60^{{^\circ}} \right)}{Cl}_{5}}}\end{pmatrix}},} & {{h_{4} = 1},{h_{5} = 2}}\end{matrix} \right.$ acquiring H₆, Gl₆, Cl₆ in the HGlCl format of thecolor data C₅ by Formula 6 and the gray precipitation value Gl_(cl) ₄_(cl) ₅ after the vector operation of the chromatic vectors {right arrowover (Cl)}₄, {right arrow over (Cl)}₅ of the two colors C₄, C₅:$\quad\begin{matrix}\left\{ \begin{matrix}{{{{Gl}_{6} = {{Gl}_{5} + {Gl}_{4} + {Gl}_{{cl}_{4}{cl}_{5}}}},}} & \; \\{{{{Cl}_{6}} = \sqrt{{Cl}_{4}^{3} + {Cl}_{5}^{2} - {2{Cl}_{4} \times {Cl}_{5} \times {\cos \left( {H_{4} - H_{5}} \right)}}}}} & \; \\{{H_{6} = \left\{ {\begin{matrix}{{\arccos\left( \frac{\begin{matrix}{{{Cl}_{4} \times {\cos \left( H_{4} \right)}} -} \\{{Cl}_{5} \times {\cos \left( H_{5} \right)}}\end{matrix}}{{Cl}_{6}} \right)},} & {\frac{\begin{matrix}{{{Cl}_{4} \times {\sin \left( H_{4} \right)}} -} \\{{Cl}_{5} \times {\sin \left( H_{5} \right)}}\end{matrix}}{\begin{matrix}{{{Cl}_{4} \times {\cos \left( H_{4} \right)}} -} \\{{Cl}_{5} \times {\cos \left( H_{5} \right)}}\end{matrix}} \geq 0} \\{{{2\pi} - {\arccos\left( \frac{\begin{matrix}{{{Cl}_{4} \times {\cos \left( H_{4} \right)}} -} \\{{Cl}_{5} \times {\cos \left( H_{5} \right)}}\end{matrix}}{{Cl}_{6}} \right)}},} & {\frac{\begin{matrix}{{{Cl}_{4} \times {\sin \left( H_{4} \right)}} -} \\{{Cl}_{5} \times {\sin \left( H_{5} \right)}}\end{matrix}}{\begin{matrix}{{{Cl}_{4} \times {\cos \left( H_{4} \right)}} -} \\{{Cl}_{5} \times {\cos \left( H_{5} \right)}}\end{matrix}} < 0}\end{matrix}.} \right.}} & \;\end{matrix} \right. & \left( {{Formula}\mspace{20mu} 6} \right)\end{matrix}$
 4. The method according to claim 1, wherein acquiringcolor data in an HGlCl format in the HGlCl color space with a colorappearance attribute comprises: directly specifying a plurality of colordata in the HGlCl format of interest in the HGlCl color space with acolor appearance attribute.
 5. The method according to claim 1, whereinacquiring color data in an HGlCl format in the HGlCl color space with acolor appearance attribute comprises: acquiring color data of interestin the CIEXYZ color space; acquiring color data in the HGlCl formatcorresponding to the color data of interest according to Formula 1,respectively.
 6. The method according to claim 1, further comprising thestep of converting the color data in the HOD format in the HGlCl colorspace with a color appearance attribute into color data in an XYZ formatin the CIE XYZ color space by Formula 2 below: $\begin{matrix}{{{h = \left\lbrack \frac{H}{120^{{^\circ}}} \right\rbrack},{\lbrack \cdot \rbrack \mspace{14mu} {is}\mspace{14mu} a\mspace{14mu} {round}\mspace{14mu} {symbol}\mspace{14mu} {with}\mspace{14mu} {respect}\mspace{14mu} {{to}\mspace{14mu} \cdot}},{H \in \left\lbrack {0^{{^\circ}},360^{{^\circ}}} \right)},{h = 0},1,2}\mspace{79mu} \left\{ {\begin{matrix}{{{{{if}\mspace{14mu} h} = 0},}} \\{{{X = {{{Cl}\left\lbrack {{\cos (H)} + {\frac{\sqrt{3}}{3}{\sin (H)}}} \right\rbrack} + {Gl}}},}} \\{{{Y = {{\frac{2\sqrt{3}}{3}{Cl}\; {\sin (H)}} + {Gl}}},}} \\{{Z = {Gl}}}\end{matrix}\mspace{20mu} \left\{ {\begin{matrix}{{{{{if}\mspace{14mu} h} = 1},}} \\{{X = {Gl}}} \\{{{Y = {{Gl} - {{Cl}\; {\cos (H)}} + {\frac{\sqrt{3}}{3}{\overset{\_}{Cl}} \times {\sin (H)}}}},}} \\{{Z = {{Gl} - {{Cl}\; {\cos (H)}} - {\frac{\sqrt{3}}{3}{\overset{\_}{Cl}} \times {\sin (H)}}}}}\end{matrix}\mspace{20mu} \left\{ {\begin{matrix}{{{{if}\mspace{14mu} h} = 2}} \\{{X = {{{Cl}\left\lbrack {{\cos (H)} + {\frac{\sqrt{3}}{3}{\sin (H)}}} \right\rbrack} + {Gl}}}} \\{{Y = {Gl}}} \\{{Z = {{Gl} - \frac{2\sqrt{3}{Cl}\; {\sin (H)}}{3}}}}\end{matrix}.} \right.} \right.} \right.} & \left( {{Formula}\mspace{14mu} 2} \right)\end{matrix}$
 7. A method for processing color data based on an HGlClcolor space with a color appearance attribute, comprising: acquiringcolor data in an XYZ format of interest in a CIE XYZ color space;converting the acquired color data in the XYZ format into color data ina HGlCl format according to Formula 1 below; wherein the color spaceHGlCl with a color appearance attribute is a color space based on aCIEXYZ cartesian color space, of a color appearance attribute anddescribed by a cylindrical coordinate system; the cylindrical coordinatesystem is composed of a chromatic plane and a gray axis passing throughthe origin of the chromatic plane and perpendicular to the chromaticplane, the gray axis describes a gray level Gl of the color, thechromatic plane is a polar coordinate plane and describes a chromaticvector {right arrow over (Cl)} of the color, and the chromatic vector isa vector parallel to the chromatic plane and is composed of a vectorpolar angle and a vector polar radius expressed within a polarcoordinate system, wherein the vector polar angle is a hue angle H ofthe chromatic vector, and the vector polar radius is a chromatic levelCl of the chromatic vector, i.e., one color C is C=(Gl, {right arrowover (Cl)})=(H, Gl, Cl) within the HGlCl color space with a colorappearance attribute; wherein the chromatic plane is a plane X+Y+Z=K inthe CIEXYZ Cartesian color space, and K is a real constant; the axes X,Y, Z in the CIEXYZ Cartesian color space are projected on a planeX+Y+Z=K in a direction of a line X=Y=Z to obtain three projection axeswhich are at 120° with respect to one another within the chromaticplane, and a unit vector in the direction of the projection axis is{right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)};the data of the color C (X, Y, Z) in the CIEXYZ color space is expressedas C (X{right arrow over (i)}, Y{right arrow over (j)}, Z{right arrowover (k)}) within the chromatic plane, wherein X, Y and Z arerespectively amplitudes in the three directions {right arrow over (i)},{right arrow over (j)}, {right arrow over (k)}, and the polar angles{right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)}are respectively 0°, 120° and 240°; wherein the conversion manner of H,Gl and Cl of the color C and tristimulus values X, Y, Z is given inFormula 1 below: $\begin{matrix}\; & \left( {{Formula}\mspace{14mu} 1} \right) \\\left\{ \begin{matrix}{{{Gl} = {{Min}\left( {X,Y,Z} \right)}}} \\{{\overset{\dddot{}}{Cl} = {\overset{¨}{Xi} + \overset{¨}{Yj} + {Z\overset{\dddot{}}{k}}}}} \\{{{Cl} = {{{X\overset{\dddot{}}{i}} + {Y\overset{\dddot{}}{j}} + {Z\overset{\dddot{}}{k}}}}}} \\{{H = \left\{ \begin{matrix}{{\arccos\left( \frac{{2X} - Y - Z}{2\sqrt{\begin{matrix}{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} +} \\{\left( {X - Y} \right)\left( {Y - Z} \right)}\end{matrix}}} \right)},} & {Y \geq Z} \\{{{2\pi} - {\arccos\left( \frac{{2X} - Y - Z}{2\sqrt{\begin{matrix}{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} +} \\{\left( {X - Y} \right)\left( {Y - Z} \right)}\end{matrix}}} \right)}},} & {Y < Z} \\{{undefined},} & {X = {Y = Z}}\end{matrix} \right.}}\end{matrix} \right. & \;\end{matrix}$ where Min (X, Y, Z) is the minimum value of X, Y and Z. 8.A method for processing color data based on an HGlCl color space with acolor appearance attribute, comprising: acquiring color data in an HGlClformat of interest in the HGlCl color space; converting the acquiredcolor data in the HGlCl format into color data in an XYZ format in a CIEXYZ color space according to Formula 2: $\begin{matrix}{{{h = \left\lbrack \frac{H}{120^{{^\circ}}} \right\rbrack},{\lbrack \cdot \rbrack \mspace{14mu} {is}\mspace{14mu} a\mspace{14mu} {round}\mspace{14mu} {symbol}\mspace{14mu} {with}\mspace{14mu} {respect}\mspace{14mu} {{to}\mspace{14mu} \cdot}},{H \in \left\lbrack {0^{{^\circ}},360^{{^\circ}}} \right)},{h = 0},1,2}\mspace{79mu} \left\{ {\begin{matrix}{{{{{if}\mspace{14mu} h} = 0},}} \\{{{X = {{{Cl}\left\lbrack {{\cos (H)} + {\frac{\sqrt{3}}{3}{\sin (H)}}} \right\rbrack} + {Gl}}},}} \\{{{Y = {{\frac{2\sqrt{3}}{3}{Cl}\; {\sin (H)}} + {Gl}}},}} \\{{Z = {Gl}}}\end{matrix}\mspace{20mu} \left\{ {\begin{matrix}{{{{{if}\mspace{14mu} h} = 1},}} \\{{X = {Gl}}} \\{{{Y = {{Gl} - {{Cl}\; {\cos (H)}} + {\frac{\sqrt{3}}{3}{\overset{\_}{Cl}} \times {\sin (H)}}}},}} \\{{Z = {{Gl} - {{Cl}\; {\cos (H)}} - {\frac{\sqrt{3}}{3}{\overset{\_}{Cl}} \times {\sin (H)}}}}}\end{matrix}\mspace{20mu} \left\{ {\begin{matrix}{{{{if}\mspace{14mu} h} = 2}} \\{{X = {{{Cl}\left\lbrack {{\cos (H)} + {\frac{\sqrt{3}}{3}{\sin (H)}}} \right\rbrack} + {Gl}}}} \\{{Y = {Gl}}} \\{{Z = {{Gl} - \frac{2\sqrt{3}{Cl}\; {\sin (H)}}{3}}}}\end{matrix}.} \right.} \right.} \right.} & \left( {{Formula}\mspace{14mu} 2} \right)\end{matrix}$ wherein the color space HGlCl with a color appearanceattribute is a color space based on a CIEXYZ cartesian color space, of acolor appearance attribute and described by a cylindrical coordinatesystem; the cylindrical coordinate system is composed of a chromaticplane and a gray axis passing through the origin of the chromatic planeand perpendicular to the chromatic plane, the gray axis describes a graylevel Gl of the color, the chromatic plane is a polar coordinate planeand describes a chromatic vector {right arrow over (Cl)} of the color,and the chromatic vector is a vector parallel to the chromatic plane andis composed of a vector polar angle and a vector polar radius expressedwithin a polar coordinate system, wherein the vector polar angle is ahue angle H of the chromatic vector, and the vector polar radius is achromatic level Cl of the chromatic vector, i.e., one color C is C=(Gl,{right arrow over (Cl)})=(H, Gl, Cl) within the HGlCl color space with acolor appearance attribute; wherein the chromatic plane is a planeX+Y+Z=K in the CIEXYZ Cartesian color space, and K is a real constant;the axes X, Y, Z in the CIEXYZ Cartesian color space are projected on aplane X+Y+Z=K in a direction of a line X=Y=Z to obtain three projectionaxes which are at 120° with respect to one another within the chromaticplane, and a unit vector in the direction of the projection axis is{right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)};the data of the color C (X, Y, Z) in the CIEXYZ color space is expressedas C (X{right arrow over (i)}, Y{right arrow over (j)}, Z{right arrowover (k)}) within the chromatic plane, wherein X, Y and Z arerespectively amplitudes in the three directions {right arrow over (i)},{right arrow over (j)}, {right arrow over (k)}, and the polar angles{right arrow over (i)}, {right arrow over (j)}, {right arrow over (k)}are respectively 0°, 120° and 240°; wherein the conversion manner of H,Gl and Cl of the color C and tristimulus values X, Y, Z is given inFormula 1 below: $\begin{matrix}\; & \left( {{Formula}\mspace{14mu} 1} \right) \\\left\{ \begin{matrix}{{{Gl} = {{Min}\left( {X,Y,Z} \right)}}} \\{{\overset{\dddot{}}{Cl} = {\overset{¨}{Xi} + \overset{¨}{Yj} + {Z\overset{\dddot{}}{k}}}}} \\{{{Cl} = {{{X\overset{\dddot{}}{i}} + {Y\overset{\dddot{}}{j}} + {Z\overset{\dddot{}}{k}}}}}} \\{{H = \left\{ \begin{matrix}{{\arccos\left( \frac{{2X} - Y - Z}{2\sqrt{\begin{matrix}{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} +} \\{\left( {X - Y} \right)\left( {Y - Z} \right)}\end{matrix}}} \right)},} & {Y \geq Z} \\{{{2\pi} - {\arccos\left( \frac{{2X} - Y - Z}{2\sqrt{\begin{matrix}{\left( {X - Y} \right)^{2} + \left( {Y - Z} \right)^{2} +} \\{\left( {X - Y} \right)\left( {Y - Z} \right)}\end{matrix}}} \right)}},} & {Y < Z} \\{{undefined},} & {X = {Y = Z}}\end{matrix} \right.}}\end{matrix} \right. & \;\end{matrix}$ where Min (X, y, Z) is the minimum value of X, Y and Z. 9.The method according to claim 8, wherein acquiring color data in anHGlCl format of interest in the HGlCl color space comprises: directlyselecting color data of interest in the HGlCl color space; or acquiringthe color data in the HGlCl format by the method according to claim 7.